<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort_name" data-rule="required" class="form-control" name="row[sort_name]" type="text" value="{$row.sort_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort_alias')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort_alias" data-rule="required" class="form-control" name="row[sort_alias]" type="text" value="{$row.sort_alias}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort_description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-sort_description" data-rule="required" class="form-control " rows="5" name="row[sort_description]" cols="50">{$row.sort_description}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-pid" data-rule="required" class="form-control selectpicker" name="row[pid]">
                {foreach name="psorts" item="vo"}
                <option data-id="{$vo.id}" value="{$key}" {in name="key" value="$row.pid" }selected{/in}>{$vo.sort_name}
                    </option> {/foreach} </select> </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>